"""
Tests using selenium-rc
"""
__revision__ = "$Id: __init__.py 46 2007-03-12 09:42:24Z jens.persson $"

from tests import control
from time import sleep

def setup(self):
    """
    Start the worde and selenium servers
    """
    control.selenium.start()
    control.worde.start()
    sleep(4)

def teardown(self):
    """
    Stop the worde and selenium servers
    """
    control.selenium.stop()
    control.worde.stop()
